package com.huiyujinrong.qiangdanbao.activity.my;


import com.huiyujinrong.qiangdanbao.activity.IPrenseter;
import com.huiyujinrong.qiangdanbao.bean.FaceFindBean;
import com.huiyujinrong.qiangdanbao.bean.UserInforBean;
import com.huiyujinrong.qiangdanbao.bean.UserUploadBean;

import java.io.File;

public interface UserNoInforContract {

    interface View {
        void showToast(String str);

        void exit(UserUploadBean result);

        void showDialog();

        void dissmissDialog();

        void getUserInforData(UserInforBean result);

        /**
         * 查询人脸识别
         *
         * @param t
         */
        void findZmxyFaceRecord(FaceFindBean t);

        /**
         * 人脸识别
         *
         * @param zmxy_face_url
         */
        void onFaceEngineResult(String zmxy_face_url);
    }

    interface Presenter extends IPrenseter {

        void getUserInfor(String user_id);

        void uploadUserInformation(String user_id, String true_name, String idcard_no, String organize_name, String ad_code, String ad_path, File id_just, File id_back, File work_gongpai, File work_mingpian);

        /**
         * 查询人脸是否识别
         *
         * @param s
         */
        void findZmxyFaceRecordByUserId(String s);

        /**
         * 去人脸识别
         *
         * @param user_id
         */
        void getZmxyFaceEngine(String user_id);
    }
}
